//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    isLogin: false,
    loginShow: false,
    clauseCheck: false
  },
  loginInput: function(e){
    this.setData({
      loginShow: true
    })
  },
  closePop: function(e){
    this.setData({
      loginShow: false
    })
  },
  gotoForm: function(e){
    wx.navigateTo({
      url: '../form/form',
    })
  },
  clauseClick: function(e){
    var clauseCheck = this.data.clauseCheck;
    this.setData({
      clauseCheck: !clauseCheck
    })
  }
})
